#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/common/Frustum.h"

using namespace fxcc::graph::common;
using namespace fxcc::imgui;

template <>
bool Editor::Edit<Frustum>(const std::string& label, Frustum& inst)
{
    EditInst<float>("fov", inst.fovy);
    EditInst<float>("near Z", inst.nNear);
    EditInst<float>("far Z", inst.nFar);
    EditInst<float>("aspect ", inst.aspect);

    return false;
}
